/*
	Initialize voxel terrain
*/

#include "voxel_1.cl"

kernel void Main (write_only image2d_t outputImage, int iteration, int4 blockCoord)
{
	const int3	coord3d		= GetGlobalCoord();
	const int2	coord		= GetTexCoord( coord3d );
	const int3	global_coord = blockCoord.xyz + coord3d;

	Voxel v = InitVoxel();
	WriteVoxel( outputImage, coord, v );
}
